package net.zjitc.domain;

import java.sql.Date;
//javaBean
public class Student {
    private Integer id ;
    private String name ;
    private int age ;
    private String gander ;
    private String address ;
    private Date birthday;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGander() {
        return gander;
    }

    public void setGander(String gander) {
        this.gander = gander;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String adddress) {
        this.address = adddress;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Student(Integer id, String name, int age, String gander, String adddress, Date birthday) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.gander = gander;
        this.address = adddress;
        this.birthday = birthday;
    }

    public Student(String name, int age, String gander, String adddress, Date birthday) {
        this.name = name;
        this.age = age;
        this.gander = gander;
        this.address = adddress;
        this.birthday = birthday;
    }

    public Student() {
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", gander='" + gander + '\'' +
                ", address='" + address + '\'' +
                ", birthday=" + birthday +
                '}';
    }

}